package com.mall.service.impl;

import com.mall.dao.IOrderDetailsDao;
import com.mall.domain.OrderDetails;
import com.mall.service.IOrderDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("orderDetailsService")
public class OrderDetailsServileImpl implements IOrderDetailsService {
	@Autowired
	private IOrderDetailsDao orderDetailsDao;

	@Override
	public List<OrderDetails> findOrderDetailsById(String orderId) {
		return orderDetailsDao.findOrderDetailsById(orderId);
	}
}
